package com.ysd.common.utils;

public class PageVo {
	
	private Integer setValue;  
	private Integer limit;  
	private Integer page;  
	
	public Integer getSetValue() {
		setValue = (page-1)*limit;
		return setValue;
	}
	
	public void setSetValue(Integer setValue) {
		this.setValue = setValue;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	@Override
	public String toString() {
		return "PageVo [setValue=" + setValue + ", limit=" + limit + "]";
	}

	public PageVo(Integer page,Integer limit) {
		super();
		this.limit = limit;
		this.page = page;
	}

	public PageVo() {
		super();
		// TODO Auto-generated constructor stub
	}



	
	
	

}
